﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;

namespace sistemaAcademicoFinanceiroEscolas
{
    public partial class sliderRange : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            string date = DateTime.Now.ToString("dd/MM/yyyy");
            CultureInfo culture = new CultureInfo("pt-BR");
            CultureInfo cultureEUA = new CultureInfo("en-US");
            DateTimeFormatInfo dtfi = culture.DateTimeFormat;
            DateTimeFormatInfo dtfiEUA = cultureEUA.DateTimeFormat;

            Response.Write(dtfi.GetDayName(Convert.ToDateTime(date).DayOfWeek));
            Response.Write("<br><br>");
            Response.Write(dtfiEUA.GetDayName(Convert.ToDateTime(date).DayOfWeek));
            
            Response.Write("<br><br><br><br><br><br><br>");

            int ano = 2008;
            int mes = 4;
            int dia = 10;
            int hora = 16;
            int minutos = 30;
            int segundos = 0;
            DateTime date1 = new DateTime(ano, mes, dia, hora, minutos, segundos);
            string horaEstadosUnidos = date1.ToString("t", CultureInfo.CreateSpecificCulture("en-us"));
            string hroaBrasil = date1.ToString("t", CultureInfo.CreateSpecificCulture("pt-BR"));    
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Write(HiddenField1.Value + HiddenField2.Value);
            Response.Write("<br><br><br><br><br><br><br>");
            Response.Write(HiddenField3.Value + HiddenField4.Value);
        }
    }
}
